package com.elepro.shoppingmall.service.comment;

import com.elepro.shoppingmall.entity.comments.Comment;
import com.elepro.shoppingmall.mapper.comment.CommentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CommentService {

    @Autowired
    private CommentMapper commentMapper;

    public List<Comment> getCommentList(){
        return commentMapper.getCommentList();
    }
}
